package com.heaven.study.strategy;

public class StrategyContext {

    private Strategy strategy;

    public StrategyContext(Strategy strategy) {
        this.strategy = strategy;
    }

    public void execute() {
        this.strategy.calc();
    }

}
